﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 外协单回货明细
    /// </summary>
    [Table("PB_OutsourcingBillReturnDetail")]
    public partial class PB_OutsourcingBillReturnDetail
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建者Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 物料Id
        /// </summary>
        public String MaterialId { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public Double? Qty { get; set; }

        /// <summary>
        /// 总重量
        /// </summary>
        public Double? TheoreticalWT { get; set; }

        /// <summary>
        /// 理论重量
        /// </summary>
        public Double? Weight { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }

        /// <summary>
        /// 主表ID(PB_OutsourcingBill)

        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 派车单Id
        /// </summary>
        public String BillId { get; set; }

        /// <summary>
        /// 收货单Id
        /// </summary>
        public String RecId { get; set; }

    }
}